package com.cn.kehong.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class LaborRateExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public LaborRateExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andFactoryNameIsNull() {
            addCriterion("factory_name is null");
            return (Criteria) this;
        }

        public Criteria andFactoryNameIsNotNull() {
            addCriterion("factory_name is not null");
            return (Criteria) this;
        }

        public Criteria andFactoryNameEqualTo(String value) {
            addCriterion("factory_name =", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andLaborTimeEqualTo(String value) {
            addCriterion("labor_time =", value, "laborTime");
            return (Criteria) this;
        }

        public Criteria andFactoryNameNotEqualTo(String value) {
            addCriterion("factory_name <>", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameGreaterThan(String value) {
            addCriterion("factory_name >", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameGreaterThanOrEqualTo(String value) {
            addCriterion("factory_name >=", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameLessThan(String value) {
            addCriterion("factory_name <", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameLessThanOrEqualTo(String value) {
            addCriterion("factory_name <=", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameLike(String value) {
            addCriterion("factory_name like", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andLaborTimeLike(String value) {
            addCriterion("labor_time like", value, "laborTime");
            return (Criteria) this;
        }

        public Criteria andFactoryNameNotLike(String value) {
            addCriterion("factory_name not like", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameIn(List<String> values) {
            addCriterion("factory_name in", values, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameNotIn(List<String> values) {
            addCriterion("factory_name not in", values, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameBetween(String value1, String value2) {
            addCriterion("factory_name between", value1, value2, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameNotBetween(String value1, String value2) {
            addCriterion("factory_name not between", value1, value2, "factoryName");
            return (Criteria) this;
        }

        public Criteria andTargetLaborRateIsNull() {
            addCriterion("target_labor_rate is null");
            return (Criteria) this;
        }

        public Criteria andTargetLaborRateIsNotNull() {
            addCriterion("target_labor_rate is not null");
            return (Criteria) this;
        }

        public Criteria andTargetLaborRateEqualTo(String value) {
            addCriterion("target_labor_rate =", value, "targetLaborRate");
            return (Criteria) this;
        }

        public Criteria andTargetLaborRateNotEqualTo(String value) {
            addCriterion("target_labor_rate <>", value, "targetLaborRate");
            return (Criteria) this;
        }

        public Criteria andTargetLaborRateGreaterThan(String value) {
            addCriterion("target_labor_rate >", value, "targetLaborRate");
            return (Criteria) this;
        }

        public Criteria andTargetLaborRateGreaterThanOrEqualTo(String value) {
            addCriterion("target_labor_rate >=", value, "targetLaborRate");
            return (Criteria) this;
        }

        public Criteria andTargetLaborRateLessThan(String value) {
            addCriterion("target_labor_rate <", value, "targetLaborRate");
            return (Criteria) this;
        }

        public Criteria andTargetLaborRateLessThanOrEqualTo(String value) {
            addCriterion("target_labor_rate <=", value, "targetLaborRate");
            return (Criteria) this;
        }

        public Criteria andTargetLaborRateLike(String value) {
            addCriterion("target_labor_rate like", value, "targetLaborRate");
            return (Criteria) this;
        }

        public Criteria andTargetLaborRateNotLike(String value) {
            addCriterion("target_labor_rate not like", value, "targetLaborRate");
            return (Criteria) this;
        }

        public Criteria andTargetLaborRateIn(List<String> values) {
            addCriterion("target_labor_rate in", values, "targetLaborRate");
            return (Criteria) this;
        }

        public Criteria andTargetLaborRateNotIn(List<String> values) {
            addCriterion("target_labor_rate not in", values, "targetLaborRate");
            return (Criteria) this;
        }

        public Criteria andTargetLaborRateBetween(String value1, String value2) {
            addCriterion("target_labor_rate between", value1, value2, "targetLaborRate");
            return (Criteria) this;
        }

        public Criteria andTargetLaborRateNotBetween(String value1, String value2) {
            addCriterion("target_labor_rate not between", value1, value2, "targetLaborRate");
            return (Criteria) this;
        }

        public Criteria andActualOutputIsNull() {
            addCriterion("actual_output is null");
            return (Criteria) this;
        }

        public Criteria andActualOutputIsNotNull() {
            addCriterion("actual_output is not null");
            return (Criteria) this;
        }

        public Criteria andActualOutputEqualTo(String value) {
            addCriterion("actual_output =", value, "actualOutput");
            return (Criteria) this;
        }

        public Criteria andActualOutputNotEqualTo(String value) {
            addCriterion("actual_output <>", value, "actualOutput");
            return (Criteria) this;
        }

        public Criteria andActualOutputGreaterThan(String value) {
            addCriterion("actual_output >", value, "actualOutput");
            return (Criteria) this;
        }

        public Criteria andActualOutputGreaterThanOrEqualTo(String value) {
            addCriterion("actual_output >=", value, "actualOutput");
            return (Criteria) this;
        }

        public Criteria andActualOutputLessThan(String value) {
            addCriterion("actual_output <", value, "actualOutput");
            return (Criteria) this;
        }

        public Criteria andActualOutputLessThanOrEqualTo(String value) {
            addCriterion("actual_output <=", value, "actualOutput");
            return (Criteria) this;
        }

        public Criteria andActualOutputLike(String value) {
            addCriterion("actual_output like", value, "actualOutput");
            return (Criteria) this;
        }

        public Criteria andActualOutputNotLike(String value) {
            addCriterion("actual_output not like", value, "actualOutput");
            return (Criteria) this;
        }

        public Criteria andActualOutputIn(List<String> values) {
            addCriterion("actual_output in", values, "actualOutput");
            return (Criteria) this;
        }

        public Criteria andActualOutputNotIn(List<String> values) {
            addCriterion("actual_output not in", values, "actualOutput");
            return (Criteria) this;
        }

        public Criteria andActualOutputBetween(String value1, String value2) {
            addCriterion("actual_output between", value1, value2, "actualOutput");
            return (Criteria) this;
        }

        public Criteria andActualOutputNotBetween(String value1, String value2) {
            addCriterion("actual_output not between", value1, value2, "actualOutput");
            return (Criteria) this;
        }

        public Criteria andActualAttendanceIsNull() {
            addCriterion("actual_attendance is null");
            return (Criteria) this;
        }

        public Criteria andActualAttendanceIsNotNull() {
            addCriterion("actual_attendance is not null");
            return (Criteria) this;
        }

        public Criteria andActualAttendanceEqualTo(String value) {
            addCriterion("actual_attendance =", value, "actualAttendance");
            return (Criteria) this;
        }

        public Criteria andActualAttendanceNotEqualTo(String value) {
            addCriterion("actual_attendance <>", value, "actualAttendance");
            return (Criteria) this;
        }

        public Criteria andActualAttendanceGreaterThan(String value) {
            addCriterion("actual_attendance >", value, "actualAttendance");
            return (Criteria) this;
        }

        public Criteria andActualAttendanceGreaterThanOrEqualTo(String value) {
            addCriterion("actual_attendance >=", value, "actualAttendance");
            return (Criteria) this;
        }

        public Criteria andActualAttendanceLessThan(String value) {
            addCriterion("actual_attendance <", value, "actualAttendance");
            return (Criteria) this;
        }

        public Criteria andActualAttendanceLessThanOrEqualTo(String value) {
            addCriterion("actual_attendance <=", value, "actualAttendance");
            return (Criteria) this;
        }

        public Criteria andActualAttendanceLike(String value) {
            addCriterion("actual_attendance like", value, "actualAttendance");
            return (Criteria) this;
        }

        public Criteria andActualAttendanceNotLike(String value) {
            addCriterion("actual_attendance not like", value, "actualAttendance");
            return (Criteria) this;
        }

        public Criteria andActualAttendanceIn(List<String> values) {
            addCriterion("actual_attendance in", values, "actualAttendance");
            return (Criteria) this;
        }

        public Criteria andActualAttendanceNotIn(List<String> values) {
            addCriterion("actual_attendance not in", values, "actualAttendance");
            return (Criteria) this;
        }

        public Criteria andActualAttendanceBetween(String value1, String value2) {
            addCriterion("actual_attendance between", value1, value2, "actualAttendance");
            return (Criteria) this;
        }

        public Criteria andActualAttendanceNotBetween(String value1, String value2) {
            addCriterion("actual_attendance not between", value1, value2, "actualAttendance");
            return (Criteria) this;
        }

        public Criteria andActualHourIsNull() {
            addCriterion("actual_hour is null");
            return (Criteria) this;
        }

        public Criteria andActualHourIsNotNull() {
            addCriterion("actual_hour is not null");
            return (Criteria) this;
        }

        public Criteria andActualHourEqualTo(String value) {
            addCriterion("actual_hour =", value, "actualHour");
            return (Criteria) this;
        }

        public Criteria andActualHourNotEqualTo(String value) {
            addCriterion("actual_hour <>", value, "actualHour");
            return (Criteria) this;
        }

        public Criteria andActualHourGreaterThan(String value) {
            addCriterion("actual_hour >", value, "actualHour");
            return (Criteria) this;
        }

        public Criteria andActualHourGreaterThanOrEqualTo(String value) {
            addCriterion("actual_hour >=", value, "actualHour");
            return (Criteria) this;
        }

        public Criteria andActualHourLessThan(String value) {
            addCriterion("actual_hour <", value, "actualHour");
            return (Criteria) this;
        }

        public Criteria andActualHourLessThanOrEqualTo(String value) {
            addCriterion("actual_hour <=", value, "actualHour");
            return (Criteria) this;
        }

        public Criteria andActualHourLike(String value) {
            addCriterion("actual_hour like", value, "actualHour");
            return (Criteria) this;
        }

        public Criteria andActualHourNotLike(String value) {
            addCriterion("actual_hour not like", value, "actualHour");
            return (Criteria) this;
        }

        public Criteria andActualHourIn(List<String> values) {
            addCriterion("actual_hour in", values, "actualHour");
            return (Criteria) this;
        }

        public Criteria andActualHourNotIn(List<String> values) {
            addCriterion("actual_hour not in", values, "actualHour");
            return (Criteria) this;
        }

        public Criteria andActualHourBetween(String value1, String value2) {
            addCriterion("actual_hour between", value1, value2, "actualHour");
            return (Criteria) this;
        }

        public Criteria andActualHourNotBetween(String value1, String value2) {
            addCriterion("actual_hour not between", value1, value2, "actualHour");
            return (Criteria) this;
        }

        public Criteria andActualLaborRateIsNull() {
            addCriterion("actual_labor_rate is null");
            return (Criteria) this;
        }

        public Criteria andActualLaborRateIsNotNull() {
            addCriterion("actual_labor_rate is not null");
            return (Criteria) this;
        }

        public Criteria andActualLaborRateEqualTo(String value) {
            addCriterion("actual_labor_rate =", value, "actualLaborRate");
            return (Criteria) this;
        }

        public Criteria andActualLaborRateNotEqualTo(String value) {
            addCriterion("actual_labor_rate <>", value, "actualLaborRate");
            return (Criteria) this;
        }

        public Criteria andActualLaborRateGreaterThan(String value) {
            addCriterion("actual_labor_rate >", value, "actualLaborRate");
            return (Criteria) this;
        }

        public Criteria andActualLaborRateGreaterThanOrEqualTo(String value) {
            addCriterion("actual_labor_rate >=", value, "actualLaborRate");
            return (Criteria) this;
        }

        public Criteria andActualLaborRateLessThan(String value) {
            addCriterion("actual_labor_rate <", value, "actualLaborRate");
            return (Criteria) this;
        }

        public Criteria andActualLaborRateLessThanOrEqualTo(String value) {
            addCriterion("actual_labor_rate <=", value, "actualLaborRate");
            return (Criteria) this;
        }

        public Criteria andActualLaborRateLike(String value) {
            addCriterion("actual_labor_rate like", value, "actualLaborRate");
            return (Criteria) this;
        }

        public Criteria andActualLaborRateNotLike(String value) {
            addCriterion("actual_labor_rate not like", value, "actualLaborRate");
            return (Criteria) this;
        }

        public Criteria andActualLaborRateIn(List<String> values) {
            addCriterion("actual_labor_rate in", values, "actualLaborRate");
            return (Criteria) this;
        }

        public Criteria andActualLaborRateNotIn(List<String> values) {
            addCriterion("actual_labor_rate not in", values, "actualLaborRate");
            return (Criteria) this;
        }

        public Criteria andActualLaborRateBetween(String value1, String value2) {
            addCriterion("actual_labor_rate between", value1, value2, "actualLaborRate");
            return (Criteria) this;
        }

        public Criteria andActualLaborRateNotBetween(String value1, String value2) {
            addCriterion("actual_labor_rate not between", value1, value2, "actualLaborRate");
            return (Criteria) this;
        }

        public Criteria andAchievementRateIsNull() {
            addCriterion("achievement_rate is null");
            return (Criteria) this;
        }

        public Criteria andAchievementRateIsNotNull() {
            addCriterion("achievement_rate is not null");
            return (Criteria) this;
        }

        public Criteria andAchievementRateEqualTo(String value) {
            addCriterion("achievement_rate =", value, "achievementRate");
            return (Criteria) this;
        }

        public Criteria andAchievementRateNotEqualTo(String value) {
            addCriterion("achievement_rate <>", value, "achievementRate");
            return (Criteria) this;
        }

        public Criteria andAchievementRateGreaterThan(String value) {
            addCriterion("achievement_rate >", value, "achievementRate");
            return (Criteria) this;
        }

        public Criteria andAchievementRateGreaterThanOrEqualTo(String value) {
            addCriterion("achievement_rate >=", value, "achievementRate");
            return (Criteria) this;
        }

        public Criteria andAchievementRateLessThan(String value) {
            addCriterion("achievement_rate <", value, "achievementRate");
            return (Criteria) this;
        }

        public Criteria andAchievementRateLessThanOrEqualTo(String value) {
            addCriterion("achievement_rate <=", value, "achievementRate");
            return (Criteria) this;
        }

        public Criteria andAchievementRateLike(String value) {
            addCriterion("achievement_rate like", value, "achievementRate");
            return (Criteria) this;
        }

        public Criteria andAchievementRateNotLike(String value) {
            addCriterion("achievement_rate not like", value, "achievementRate");
            return (Criteria) this;
        }

        public Criteria andAchievementRateIn(List<String> values) {
            addCriterion("achievement_rate in", values, "achievementRate");
            return (Criteria) this;
        }

        public Criteria andAchievementRateNotIn(List<String> values) {
            addCriterion("achievement_rate not in", values, "achievementRate");
            return (Criteria) this;
        }

        public Criteria andAchievementRateBetween(String value1, String value2) {
            addCriterion("achievement_rate between", value1, value2, "achievementRate");
            return (Criteria) this;
        }

        public Criteria andAchievementRateNotBetween(String value1, String value2) {
            addCriterion("achievement_rate not between", value1, value2, "achievementRate");
            return (Criteria) this;
        }

        public Criteria andExperimentalMaterialOutputIsNull() {
            addCriterion("experimental_material_output is null");
            return (Criteria) this;
        }

        public Criteria andExperimentalMaterialOutputIsNotNull() {
            addCriterion("experimental_material_output is not null");
            return (Criteria) this;
        }

        public Criteria andExperimentalMaterialOutputEqualTo(String value) {
            addCriterion("experimental_material_output =", value, "experimentalMaterialOutput");
            return (Criteria) this;
        }

        public Criteria andExperimentalMaterialOutputNotEqualTo(String value) {
            addCriterion("experimental_material_output <>", value, "experimentalMaterialOutput");
            return (Criteria) this;
        }

        public Criteria andExperimentalMaterialOutputGreaterThan(String value) {
            addCriterion("experimental_material_output >", value, "experimentalMaterialOutput");
            return (Criteria) this;
        }

        public Criteria andExperimentalMaterialOutputGreaterThanOrEqualTo(String value) {
            addCriterion("experimental_material_output >=", value, "experimentalMaterialOutput");
            return (Criteria) this;
        }

        public Criteria andExperimentalMaterialOutputLessThan(String value) {
            addCriterion("experimental_material_output <", value, "experimentalMaterialOutput");
            return (Criteria) this;
        }

        public Criteria andExperimentalMaterialOutputLessThanOrEqualTo(String value) {
            addCriterion("experimental_material_output <=", value, "experimentalMaterialOutput");
            return (Criteria) this;
        }

        public Criteria andExperimentalMaterialOutputLike(String value) {
            addCriterion("experimental_material_output like", value, "experimentalMaterialOutput");
            return (Criteria) this;
        }

        public Criteria andExperimentalMaterialOutputNotLike(String value) {
            addCriterion("experimental_material_output not like", value, "experimentalMaterialOutput");
            return (Criteria) this;
        }

        public Criteria andExperimentalMaterialOutputIn(List<String> values) {
            addCriterion("experimental_material_output in", values, "experimentalMaterialOutput");
            return (Criteria) this;
        }

        public Criteria andExperimentalMaterialOutputNotIn(List<String> values) {
            addCriterion("experimental_material_output not in", values, "experimentalMaterialOutput");
            return (Criteria) this;
        }

        public Criteria andExperimentalMaterialOutputBetween(String value1, String value2) {
            addCriterion("experimental_material_output between", value1, value2, "experimentalMaterialOutput");
            return (Criteria) this;
        }

        public Criteria andExperimentalMaterialOutputNotBetween(String value1, String value2) {
            addCriterion("experimental_material_output not between", value1, value2, "experimentalMaterialOutput");
            return (Criteria) this;
        }

        public Criteria andExperimentMaterialTimeIsNull() {
            addCriterion("experiment_material_time is null");
            return (Criteria) this;
        }

        public Criteria andExperimentMaterialTimeIsNotNull() {
            addCriterion("experiment_material_time is not null");
            return (Criteria) this;
        }

        public Criteria andExperimentMaterialTimeEqualTo(String value) {
            addCriterion("experiment_material_time =", value, "experimentMaterialTime");
            return (Criteria) this;
        }

        public Criteria andExperimentMaterialTimeNotEqualTo(String value) {
            addCriterion("experiment_material_time <>", value, "experimentMaterialTime");
            return (Criteria) this;
        }

        public Criteria andExperimentMaterialTimeGreaterThan(String value) {
            addCriterion("experiment_material_time >", value, "experimentMaterialTime");
            return (Criteria) this;
        }

        public Criteria andExperimentMaterialTimeGreaterThanOrEqualTo(String value) {
            addCriterion("experiment_material_time >=", value, "experimentMaterialTime");
            return (Criteria) this;
        }

        public Criteria andExperimentMaterialTimeLessThan(String value) {
            addCriterion("experiment_material_time <", value, "experimentMaterialTime");
            return (Criteria) this;
        }

        public Criteria andExperimentMaterialTimeLessThanOrEqualTo(String value) {
            addCriterion("experiment_material_time <=", value, "experimentMaterialTime");
            return (Criteria) this;
        }

        public Criteria andExperimentMaterialTimeLike(String value) {
            addCriterion("experiment_material_time like", value, "experimentMaterialTime");
            return (Criteria) this;
        }

        public Criteria andExperimentMaterialTimeNotLike(String value) {
            addCriterion("experiment_material_time not like", value, "experimentMaterialTime");
            return (Criteria) this;
        }

        public Criteria andExperimentMaterialTimeIn(List<String> values) {
            addCriterion("experiment_material_time in", values, "experimentMaterialTime");
            return (Criteria) this;
        }

        public Criteria andExperimentMaterialTimeNotIn(List<String> values) {
            addCriterion("experiment_material_time not in", values, "experimentMaterialTime");
            return (Criteria) this;
        }

        public Criteria andExperimentMaterialTimeBetween(String value1, String value2) {
            addCriterion("experiment_material_time between", value1, value2, "experimentMaterialTime");
            return (Criteria) this;
        }

        public Criteria andExperimentMaterialTimeNotBetween(String value1, String value2) {
            addCriterion("experiment_material_time not between", value1, value2, "experimentMaterialTime");
            return (Criteria) this;
        }

        public Criteria andExperimentalMaterialLaborRateIsNull() {
            addCriterion("experimental_material_labor_rate is null");
            return (Criteria) this;
        }

        public Criteria andExperimentalMaterialLaborRateIsNotNull() {
            addCriterion("experimental_material_labor_rate is not null");
            return (Criteria) this;
        }

        public Criteria andExperimentalMaterialLaborRateEqualTo(String value) {
            addCriterion("experimental_material_labor_rate =", value, "experimentalMaterialLaborRate");
            return (Criteria) this;
        }

        public Criteria andExperimentalMaterialLaborRateNotEqualTo(String value) {
            addCriterion("experimental_material_labor_rate <>", value, "experimentalMaterialLaborRate");
            return (Criteria) this;
        }

        public Criteria andExperimentalMaterialLaborRateGreaterThan(String value) {
            addCriterion("experimental_material_labor_rate >", value, "experimentalMaterialLaborRate");
            return (Criteria) this;
        }

        public Criteria andExperimentalMaterialLaborRateGreaterThanOrEqualTo(String value) {
            addCriterion("experimental_material_labor_rate >=", value, "experimentalMaterialLaborRate");
            return (Criteria) this;
        }

        public Criteria andExperimentalMaterialLaborRateLessThan(String value) {
            addCriterion("experimental_material_labor_rate <", value, "experimentalMaterialLaborRate");
            return (Criteria) this;
        }

        public Criteria andExperimentalMaterialLaborRateLessThanOrEqualTo(String value) {
            addCriterion("experimental_material_labor_rate <=", value, "experimentalMaterialLaborRate");
            return (Criteria) this;
        }

        public Criteria andExperimentalMaterialLaborRateLike(String value) {
            addCriterion("experimental_material_labor_rate like", value, "experimentalMaterialLaborRate");
            return (Criteria) this;
        }

        public Criteria andExperimentalMaterialLaborRateNotLike(String value) {
            addCriterion("experimental_material_labor_rate not like", value, "experimentalMaterialLaborRate");
            return (Criteria) this;
        }

        public Criteria andExperimentalMaterialLaborRateIn(List<String> values) {
            addCriterion("experimental_material_labor_rate in", values, "experimentalMaterialLaborRate");
            return (Criteria) this;
        }

        public Criteria andExperimentalMaterialLaborRateNotIn(List<String> values) {
            addCriterion("experimental_material_labor_rate not in", values, "experimentalMaterialLaborRate");
            return (Criteria) this;
        }

        public Criteria andExperimentalMaterialLaborRateBetween(String value1, String value2) {
            addCriterion("experimental_material_labor_rate between", value1, value2, "experimentalMaterialLaborRate");
            return (Criteria) this;
        }

        public Criteria andExperimentalMaterialLaborRateNotBetween(String value1, String value2) {
            addCriterion("experimental_material_labor_rate not between", value1, value2, "experimentalMaterialLaborRate");
            return (Criteria) this;
        }

        public Criteria andLaborResultIsNull() {
            addCriterion("labor_result is null");
            return (Criteria) this;
        }

        public Criteria andLaborResultIsNotNull() {
            addCriterion("labor_result is not null");
            return (Criteria) this;
        }

        public Criteria andLaborResultEqualTo(String value) {
            addCriterion("labor_result =", value, "laborResult");
            return (Criteria) this;
        }

        public Criteria andLaborResultNotEqualTo(String value) {
            addCriterion("labor_result <>", value, "laborResult");
            return (Criteria) this;
        }

        public Criteria andLaborResultGreaterThan(String value) {
            addCriterion("labor_result >", value, "laborResult");
            return (Criteria) this;
        }

        public Criteria andLaborResultGreaterThanOrEqualTo(String value) {
            addCriterion("labor_result >=", value, "laborResult");
            return (Criteria) this;
        }

        public Criteria andLaborResultLessThan(String value) {
            addCriterion("labor_result <", value, "laborResult");
            return (Criteria) this;
        }

        public Criteria andLaborResultLessThanOrEqualTo(String value) {
            addCriterion("labor_result <=", value, "laborResult");
            return (Criteria) this;
        }

        public Criteria andLaborResultLike(String value) {
            addCriterion("labor_result like", value, "laborResult");
            return (Criteria) this;
        }

        public Criteria andLaborResultNotLike(String value) {
            addCriterion("labor_result not like", value, "laborResult");
            return (Criteria) this;
        }

        public Criteria andLaborResultIn(List<String> values) {
            addCriterion("labor_result in", values, "laborResult");
            return (Criteria) this;
        }

        public Criteria andLaborResultNotIn(List<String> values) {
            addCriterion("labor_result not in", values, "laborResult");
            return (Criteria) this;
        }

        public Criteria andLaborResultBetween(String value1, String value2) {
            addCriterion("labor_result between", value1, value2, "laborResult");
            return (Criteria) this;
        }

        public Criteria andLaborResultNotBetween(String value1, String value2) {
            addCriterion("labor_result not between", value1, value2, "laborResult");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }
        public Criteria andLabStatusEqualTo(String value) {
            addCriterion("lab_status =", value, "labStatus");
            return (Criteria) this;
        }


        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNull() {
            addCriterion("create_user_id is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNotNull() {
            addCriterion("create_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdEqualTo(String value) {
            addCriterion("create_user_id =", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotEqualTo(String value) {
            addCriterion("create_user_id <>", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThan(String value) {
            addCriterion("create_user_id >", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("create_user_id >=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThan(String value) {
            addCriterion("create_user_id <", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThanOrEqualTo(String value) {
            addCriterion("create_user_id <=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLike(String value) {
            addCriterion("create_user_id like", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotLike(String value) {
            addCriterion("create_user_id not like", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIn(List<String> values) {
            addCriterion("create_user_id in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotIn(List<String> values) {
            addCriterion("create_user_id not in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdBetween(String value1, String value2) {
            addCriterion("create_user_id between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotBetween(String value1, String value2) {
            addCriterion("create_user_id not between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameIsNull() {
            addCriterion("create_user_name is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameIsNotNull() {
            addCriterion("create_user_name is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameEqualTo(String value) {
            addCriterion("create_user_name =", value, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameNotEqualTo(String value) {
            addCriterion("create_user_name <>", value, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameGreaterThan(String value) {
            addCriterion("create_user_name >", value, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("create_user_name >=", value, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameLessThan(String value) {
            addCriterion("create_user_name <", value, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameLessThanOrEqualTo(String value) {
            addCriterion("create_user_name <=", value, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameLike(String value) {
            addCriterion("create_user_name like", value, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameNotLike(String value) {
            addCriterion("create_user_name not like", value, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameIn(List<String> values) {
            addCriterion("create_user_name in", values, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameNotIn(List<String> values) {
            addCriterion("create_user_name not in", values, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameBetween(String value1, String value2) {
            addCriterion("create_user_name between", value1, value2, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameNotBetween(String value1, String value2) {
            addCriterion("create_user_name not between", value1, value2, "createUserName");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}